import {
    remote
} from 'electron'
import storage from 'electron-json-storage'
import Vue from 'vue'

export default function initConfing() {
    storage.getAll(function (err,data) {
        if (error) throw error;
        Vue.prototype.$userConfig = data;
    })
}